package cn.zcj.studytest.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_message")
public class Message {
    @TableId(value = "id", type = IdType.AUTO)
    private long id;

    private long userId;

    private String message;

    private String name;

    private LocalDateTime time;
}
